package com.jia.lidao.ui.message;

import android.widget.TextView;

import com.jia.lidao.R;
import com.jia.lidao.enity.MessagetBeen;


/**
 * Created by 00029935 on 2017/11/17.
 */

public class MessageOneAdapter
		extends QuickAdapter<MessagetBeen.MessagesBean.DataBean> {
	@Override
	public int getLayoutID(int viewType) {
		return R.layout.message_one_adapter;
	}

	@Override
	public void convert(VH holder, MessagetBeen.MessagesBean.DataBean itemData,
			int position) {
		TextView tvContent = holder.getView(R.id.tv_content);
		TextView tvTime = holder.getView(R.id.tv_time);
		tvContent.setText(itemData.getContent());
		tvTime.setText(itemData.getCreated_time());
	}
}
